﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class FcBLL:IFcBLL
    {
        public int AddFc(FcInfo fc)
        {
            return DALFactory.CreateFcDAL().AddFc(fc);
        }
        public int UpdateFc(string num, string cxh, decimal dun, string fcy, string jt, string ku, decimal cf, decimal js, string info)
        {
            return DALFactory.CreateFcDAL().UpdateFc(num, cxh, dun, fcy, jt, ku, cf, js, info);
        }
        public int UpdateFcBZ(string num, string info)
        {
            return DALFactory.CreateFcDAL().UpdateFcBZ(num, info);
        }
        public int Del(string num)
        {
            return DALFactory.CreateFcDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateFcDAL().Select(num);
        }
        public DataSet SelectByDay(string sday, string ku)
        {
            return DALFactory.CreateFcDAL().SelectByDay(sday, ku);
        }
        public string AUTOID()
        {
            return DALFactory.CreateFcDAL().AUTOID();
        }
        public DataSet fccd(string cday, string ku)
        {
            return DALFactory.CreateFcDAL().fccd(cday, ku);
        }
    }
}
